const CustomImage = (
  props: {
    _1x: string,
    _2x: string,
    className: string
  }
) => {

  return <picture>
    <source media="(max-width: 430px)" srcSet={props._1x} />
    <img src={props._2x} className={props.className} />
  </picture>
}


export default CustomImage;